package homework;
class Person {
	public String name;
	public int age;
	public Person(String name, int age) {
		this.name=name;
		this.age=age;
		System.out.println("构造方法执行");
	}
	{
		System.out.println("实例代码块执行");
	}
	static {
		System.out.println("静态代码块执行");
	}
}
//	Person person1=new Person("张三",10);
//		System.out.println("============");
//				Person person2=new Person("李四",20);
  class testFunction{
	static int cnt = 6;
	static{
		cnt += 9;
	}
	public static void main(String[] args) {
		System.out.println("cnt = " + cnt);
	}
	static{
		cnt /=3;
	};
}
public class test6 {
	public static void main(String[] args) {
	}
}
